package ACWing.TheNnderlyingAlgorithm.二分;
//790数的三次方根浮点二分

import java.util.Scanner;

/**
 * @author :chenjie
 * @date :Created 2022/11/17 15:15
 */
public class TheCubicRootOFTHENumber {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Double x=sc.nextDouble();
        double l=0,r=1.0E4;//定义查找范围
        while (r-l>1.0E-8){//要比输出的精度高俩位否则会精度丢失
            double mid=(r+l)/2;
            if(Math.pow(mid,3)>=x){
                r=mid;
            }else {
                l=mid+1;
            }
        }

        System.out.printf("%f",r);
    }

}
